package com.zhanqiao.service;

import com.zhanqiao.Dao.SelectStatedContentDao;
import com.zhanqiao.domain.ArticleBean;

import java.util.List;

public class SelectStatedContentService implements ArticleService {
    @Override
    public List<ArticleBean> articleService() {
        return null;
    }

    public List<ArticleBean> articleService(String page, String limit) {
        SelectStatedContentDao selectStatedContentDao = new SelectStatedContentDao();
        List<ArticleBean> list = selectStatedContentDao.selectAll(page, limit);
        return list;
    }
}
